package experiment2_2;

/**
 * Date: 2023-04-23
 * Time: 15:14
 */
public class hero {
    private String name;
    private int blood;
    private String dan;
    private int attack;


    public hero() {
    }

    public hero(String name, int blood, String dan, int attack) {
        this.name = name;
        this.blood = blood;
        this.dan = dan;
        this.attack = attack;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }

    public int getBlood() {
        return blood;
    }


    public void setBlood(int blood) {
        this.blood = blood;
    }

    public String getDan() {
        return dan;
    }


    public void setDan(String dan) {
        this.dan = dan;
    }


    public int getAttack() {
        return attack;
    }


    public void setAttack(int attack) {
        this.attack = attack;
    }


}
